package com.example.demo.mp.entity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.core.base.BizEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 触达组件
 * </p>
 *
 * @author JXY
 * @since 2022-03-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("reach_info")
public class ReachInfoEntity extends BizEntity<ReachInfoEntity> {

    private static final long serialVersionUID = 1L;

    /**
     * 组件名称
     */
    @TableField("name")
    private String name;

    /**
     * 组件类型:ReachTypeEnum
     */
    @TableField("type")
    private Integer type;

    /**
     * 组件icon
     */
    @TableField("icon")
    private String icon;

    /**
     * 组件归属  0-系统  1-商户
     */
    @TableField("belong")
    private Integer belong;

    /**
     * 勿扰时间段开始 格式 '22:00:00'
     */
    @TableField("disturb_start_time")
    private String disturbStartTime;

    /**
     * 勿扰时间段结束 格式 '23:00:00'
     */
    @TableField("disturb_end_time")
    private String disturbEndTime;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
